/**
 * Copyright [2019] [LiBo/Alex of copyright liboware@gmail.com ]
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.hyts.standard.webflux.base.bean;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @project-name:standard-webflux
 * @package-name:com.hyts.standard.webflux.base.bean
 * @author:LiBo/Alex
 * @create-date:2019-10-18 14:18
 * @copyright:libo-alex4java
 * @email:liboware@gmail.com
 * @description:
 */
@Data
public class BasePO<PK> implements Serializable {

    /**
     * 串行化流水号
     */
    private static final long serialVersionUID = 2395221801837003189L;

    /**
     * 主键关键字
     */
    private PK id;

    /**
     * 是否属于删除状态
     * 删除：0
     * 正常：1
     */
    private int deleted;

    /**
     * 创建时间
      */
    private Date createDate;

    /**
     * 修改时间
     */
    private Date updateDate;

    /**
     * 状态标识
     */
    private int status;


}
